import request from '@/utils/request'

export function shopCarAdd(skuId,detailsCount) {
  return request({
    url: '/car/shopCar/insertShopCar/'+skuId+"/"+detailsCount,
    method: 'post',
  })
}

export function shopCarList() {
  return request({
    url: '/car/shopCar/findShopCar',
    method: 'get',
  })
}

export function uploadImg(data) {
  return request({
    url: '/car/shopCar/upload',
    method: 'get',
    params:{file:data}
  })
}